﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class RMBT_CONTROL_EQU_Map : SubclassMap<RMBT_CONTROL_EQU>
    {
        public RMBT_CONTROL_EQU_Map()
        {
            Table("RMBT_CONTROL_EQU");
            KeyColumn("MFID");
            Map(x => x.STATUS).Nullable().Length(2);
            Map(x => x.STARTFREQ).Nullable().Precision(14).Scale(7);
            Map(x => x.ENDFREQ).Not.Nullable().Precision(14).Scale(7);
            Map(x => x.POWER).Not.Nullable().Precision(6).Scale(2);
            Map(x => x.MAXBAND).Not.Nullable().Precision(14).Scale(7);
            Map(x => x.MODULATION).Not.Nullable().Length(2);
            DoEditableMappings();
        }
    }
}
